package com.eric.domain.vo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Validated
public class UnitNameVO implements Serializable {
    private Integer id;
    @NotBlank(message = "The unitName can be blank")
    private String unitName;
}
